package com.heima.article.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.model.article.dtos.ArticleHomeDto;
import com.heima.model.article.pojos.ApArticle;

import java.util.List;

/**
 * @author ybw
 * @version 1.0
 * @date 2021/12/11 21:17
 */
public interface ArticleMapper extends BaseMapper<ApArticle> {
  /**
   * 查询文章列表
   *
   * @param type
   * @param articleHomeDto
   * @return
   */
  List<ApArticle> loadList(Short type, ArticleHomeDto articleHomeDto);
}
